#ifndef SETUP_H_INCLUDED
#define SETUP_H_INCLUDED

void initcolors()
{
    int foreground = 0, background = 0, pairnumber = 0;

    while (pairnumber != 77)
    {
        pairnumber = foreground*10 + background;

        if (background == 8)
        {
            background = 0;
            foreground++;
        }

        else
        {
            init_pair(pairnumber, foreground, background);
            background++;
        }
    }

}

#endif // SETUP_H_INCLUDED
